package org.ru.mse10.cvis.web.model;

/**
 * The Class UIModel.
 * 
 * @param <E>
 *            the element type
 */
public class UIModel<E> {

	/** The model object. */
	private E modelObject;

	/**
	 * Instantiates a new uI model.
	 * 
	 * @param modelObject
	 *            the model object
	 */
	public UIModel(E modelObject) {
		this.modelObject = modelObject;
	}

	/**
	 * Gets the model object.
	 * 
	 * @return the model object
	 */
	public E getModelObject() {
		return modelObject;
	}

	/**
	 * Sets the model object.
	 * 
	 * @param modelObject
	 *            the new model object
	 */
	public void setModelObject(E modelObject) {
		this.modelObject = modelObject;
	}
}
